package com.ij.media.mapper;


import com.ij.media.model.Video;
import com.ij.media.model.VideoVo;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface VideoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Video record);

    int insertSelective(Video record);

    Video selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Video record);

    int updateByPrimaryKeyWithBLOBs(Video record);

    int updateByPrimaryKey(Video record);

    int insertVideos(List<Video> videos);

    List<Video> selectByCondition(VideoVo videoVo);

    int deleteByRandomId(String randomId);
}